dd if=/dev/zero of=/opt/swapfile bs=1M count=2048
mkswap /opt/swapfile
swapon /opt/swapfile